package com.weixing.mall.push;

/**
 * 个推常量类
 *
 * @author  siashan
 * @date  2021/1/21 16:47
 * @since  1.0
 **/
public class GtConst {

    /**
     * 代理端
     */
    public static final String APP_ID = "VaQLhDaQ5P8F5Eyk7pPcw1";
    public static final String APP_KEY = "kHZ8lo6W1m8bdzyWZwrWiA";
    public static final String APP_SECRET = "O6tf2aTuka5Nv6BeOQoHe1";
    public static final String MASTER_SECRET = "c4SDY4e103AFpa1h1bUB88";

    /**
     * 服务端
     */
    public static final String F_APP_ID = "SmewqpFCtc8hyR5Acif0k2";
    public static final String F_APP_KEY = "VsLHELgx5d8ZqmKX8fFIj9";
    public static final String F_APP_SECRET = "A9Vp46h5FPAebd4fNXbGr";
    public static final String F_MASTER_SECRET = "eQ75lUlxut6dqnGnidq2l2";


    /**
     * 请求前缀
     */
    public static final String F_URL_PRE = "https://restapi.getui.com/v2/" + F_APP_ID;
    public static final String URL_PRE = "https://restapi.getui.com/v2/" + APP_ID;


    /**
     * 获取token 请求地址
     */
    public static final String F_AUTH_TOKEN_URL = F_URL_PRE + "/auth";
    public static final String AUTH_TOKEN_URL = URL_PRE + "/auth";
    /**
     * 绑定别名接口
     */
    public static final String F_BIND_ALIAS_URL = F_URL_PRE + "/user/alias";
    public static final String BIND_ALIAS_URL = URL_PRE + "/user/alias";
    /**
     * 全推接口
     */
    public static final String F_PUSH_ALL_URL = F_URL_PRE + "/push/all";
    public static final String PUSH_ALL_URL = URL_PRE + "/push/all";
    /**
     * 向单个用户推送消息，可根据cid指定用户
     */
    public static final String F_PUSH_TOSINGLECID_URL = F_URL_PRE + "/push/single/alias";
    public static final String PUSH_TOSINGLECID_URL = URL_PRE + "/push/single/alias";
    /**
     * 创建消息
     */
    public static final String F_PUSH_LISTMESSAGE_URL = F_URL_PRE + "/push/list/message";
    public static final String PUSH_LISTMESSAGE_URL = URL_PRE + "/push/list/message";
    /**
     * 执行cid批量推
     */
    public static final String F_PUSH_LISTCID_URL = F_URL_PRE + "/push/list/alias";
    public static final String PUSH_LISTCID_URL = URL_PRE + "/push/list/alias";


    public static final String code = "code";
    public static final String REDIS_FTOKEN_PRE = "gt_tokenf";
    public static final String REDIS_DTOKEN_PRE = "gt_dtokend";
}
